import { postRequest, getRequest } from "../http.js";
// ba设备分类（饼图
export let getBaDeviceType = (data) => {
    return getRequest("ob/ba/getBaDeviceType", data);
};
// 一氧化碳浓度排行
export let getCoConcentrationRanking = (data) => {
    return getRequest("ob/ba/getCoConcentrationRanking", data);
};
// 根据泵类型获取水管压力统计（柱状图）
export let getWaterPipePressureStatistics = (data) => {
    return getRequest(
        `ob/ba/getWaterPipePressureStatistics?pipeType=${data.pipeType}`
    );
};
// 根据类别获取对应属性及状态值统计（多个饼图）
export let getPropertyState = (data) => {
    return getRequest(`ob/ba/getPropertyState?deviceType=${data.deviceType}`);
};
